package com.lzhsite.technology.designPattern.decorate.CakeDemo;

public class FlowerDecorator extends OtherDecorator
{
    public FlowerDecorator(Cake cake)
    {
        super(cake);
        super.remark = "玫瑰花";
    }

    public String getImpression()
    {
        return super.getCake().getImpression() + " ，" + "看到一束花真是高兴";
    }

    public String getRemark()
    {
        return super.getCake().getRemark() + " ，" + super.remark;
    }
}
